import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import myButton from "../components/MyButton";
import user from "../components/User";
import department from "../components/Department";
import user02 from "../components/User02";
import department02 from "../components/Department02";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/button',
      name: 'myButton',
      component: myButton
    },{
      path: '/user',
      name: 'user',
      component: user
    },{
      path: '/department',
      name: 'department',
      component: department
    },{
      path: '/user02',
      name: 'user02',
      component: user02
    },{
      path: '/department02',
      name: 'department02',
      component: department02
    }
  ]
})
